package com.qding.park.adapter.report.controller.v1.form;

import java.util.Date;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.qding.park.adapter.report.valid.ExceptionType;

public class ErrorParkOutForm {
    
    /**
     * @Field @supplyId : TODO(厂商编号)
     */
    @NotEmpty(message="supplyId不能为空")
    private String supplyId;
    
    /**
     * @Field @parkCode : TODO(车场编码)
     */
    @NotEmpty(message="parkCode不能为空")
    private String parkCode;
    
    @NotEmpty(message="enOutId不能为空")
    private String  enOutId;
    
    
    @ExceptionType
    private String exceptionType;
    
    @NotNull(message="outTime不能为空")
    private Date  outTime;
    
    @NotEmpty(message="outDevice不能为空")
    private String outDevice;
    
    @NotEmpty(message="parkOutPic不能为空")
    private String parkOutPic;

    
    public String getSupplyId() {
        return supplyId;
    }

    
    public void setSupplyId(String supplyId) {
        this.supplyId = supplyId;
    }

    
    public String getParkCode() {
        return parkCode;
    }

    
    public void setParkCode(String parkCode) {
        this.parkCode = parkCode;
    }

    
    public String getEnOutId() {
        return enOutId;
    }

    
    public void setEnOutId(String enOutId) {
        this.enOutId = enOutId;
    }

    
    public String getExceptionType() {
        return exceptionType;
    }

    
    public void setExceptionType(String exceptionType) {
        this.exceptionType = exceptionType;
    }

    
    public Date getOutTime() {
        return outTime;
    }

    
    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    
    public String getOutDevice() {
        return outDevice;
    }

    
    public void setOutDevice(String outDevice) {
        this.outDevice = outDevice;
    }

    
    public String getParkOutPic() {
        return parkOutPic;
    }

    
    public void setParkOutPic(String parkOutPic) {
        this.parkOutPic = parkOutPic;
    }


    @Override
    public String toString() {
        return "ErrorParkOutForm [supplyId=" + supplyId + ", parkCode=" + parkCode + ", enOutId=" + enOutId
                + ", exceptionType=" + exceptionType + ", outTime=" + outTime + ", outDevice=" + outDevice
                + ", parkOutPic=" + parkOutPic + "]";
    }
    
    
    
}
